import { defineConfig } from 'vite'
const { resolve } = require('path')
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  // resolve: { alias: [{ find: '@', replacement: resolve(__dirname, 'src') }] },
  resolve: { alias: { '@': resolve(__dirname, 'src') } },
  server: {
    port: 33332,
    open: true,
  },
})
